#ifndef CHILDWINDOW_H
#define CHILDWINDOW_H

#include <QMainWindow>
#include <QPainter>
namespace Ui {
class childWindow;
}

class childWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit childWindow(QWidget *parent = nullptr);
    ~childWindow();
    void paintEvent(QPaintEvent *event);

signals:
    void closed();

protected:
    void closeEvent(QCloseEvent *event)override;

private:
    Ui::childWindow *ui;
};

#endif // CHILDWINDOW_H
